/**
 * 文件名称:  TBcUser.java
 * 文件序号:  序号
 * 内容描述:  用户实体
 * 版权声明:  山东鸿蝶信息技术有限公司
 * 创建用户:  MissJin
 * 创建日期:  2017/1/16/9:41
 * 修改用户:  无
 * 修改日期:  无
 * 修改说明:  无
 * 文件版本:  V1.0
 * 文件路径:
 */
package com.hongdee.rbac.user.entity;

import com.hongdee.base.entity.BaseEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 名  称: 用户实体类
 * 类  型: class
 * 描  述: 用户实体类
 * 路  径: com.hongdee.rbac.user.entity
 * 作  者: MissJin
 * 日  期: 2017/1/16/9:42
 */
@Entity
@Table(name = "T_BC_USER")
public class TBcUser extends BaseEntity {
    /**
     * 用户编码登录账号
     */
    @Column(length = 45, name = "u_code", nullable = false, columnDefinition = "VARCHAR(45) COMMENT '用户编码登录账号'")
    private String uCode;
    /**
     * 用户姓名
     */
    @Column(length = 45, name = "u_name", columnDefinition = "VARCHAR(45) COMMENT '用户姓名'")
    private String uName;
    /**
     * 用户密码
     */
    @Column(length = 512, name = "u_password", columnDefinition = "VARCHAR(512) COMMENT '用户密码'")
    private String uPassword;
    /**
     * 用户性别：0男1女
     */
    @Column(length = 1, name = "u_sex", columnDefinition = "VARCHAR(1) COMMENT '用户性别：0男1女'")
    private String uSex;
    /**
     * 用户手机号
     */
    @Column(length = 15, name = "u_mobile", columnDefinition = "VARCHAR(15) COMMENT '用户手机号'")
    private String uMobile;
    /**
     * 用户办公电话
     */
    @Column(length = 15, name = "u_tel_phone", columnDefinition = "VARCHAR(15) COMMENT '用户办公电话'")
    private String uTelPhone;
    /**
     * 电子邮箱
     */
    @Column(length = 32, name = "u_email", columnDefinition = "VARCHAR(32) COMMENT '电子邮箱'")
    private String uEmail;
    /**
     * 出生日期
     */
    @Column(length = 10, name = "u_birth_date", columnDefinition = "VARCHAR(10) COMMENT '出生日期'")
    private String uBirthDate;
    /**
     * 入职日期
     */
    @Column(length = 10, name = "u_join_date", columnDefinition = "VARCHAR(10) COMMENT '入职日期'")
    private String uJoinDate;
    /**
     * 离职日期
     */
    @Column(length = 10, name = "u_leave_date", columnDefinition = "VARCHAR(10) COMMENT '离职日期'")
    private String uLeaveDate;
    /**
     * 所属部门, 关联T_BC_ORGAN.o_id
     */
    @Column(length = 32, name = "o_id", columnDefinition = "VARCHAR(32) COMMENT '所属部门'")
    private String oId;
    /**
     * 状态为0不存在，1存在
     */
    @Column(length = 1, name = "u_status", columnDefinition = "VARCHAR(1) COMMENT '状态'")
    private String uStatus;

    /**
     *
     * @return uCode
     */
    public String getuCode() {
        return uCode;
    }

    /**
     *
     * @param uCode String
     */
    public void setuCode(String uCode) {
        this.uCode = uCode;
    }

    /**
     *
     * @return uName
     */
    public String getuName() {
        return uName;
    }

    /**
     *
     * @param uName String
     */
    public void setuName(String uName) {
        this.uName = uName;
    }

    /**
     *
     * @return uPassword
     */
    public String getuPassword() {
        return uPassword;
    }

    /**
     *
     * @param uPassword String
     */
    public void setuPassword(String uPassword) {
        this.uPassword = uPassword;
    }

    /**
     *
     * @return uSex
     */
    public String getuSex() {
        return uSex;
    }

    /**
     *
     * @param uSex String
     */
    public void setuSex(String uSex) {
        this.uSex = uSex;
    }

    /**
     *
     * @return uMobile
     */
    public String getuMobile() {
        return uMobile;
    }

    /**
     *
     * @param uMobile String
     */
    public void setuMobile(String uMobile) {
        this.uMobile = uMobile;
    }

    /**
     *
     * @return uTelPhone
     */
    public String getuTelPhone() {
        return uTelPhone;
    }

    /**
     *
     * @param uTelPhone String
     */
    public void setuTelPhone(String uTelPhone) {
        this.uTelPhone = uTelPhone;
    }

    /**
     *
     * @return uEmail
     */
    public String getuEmail() {
        return uEmail;
    }

    /**
     *
     * @param uEmail String
     */
    public void setuEmail(String uEmail) {
        this.uEmail = uEmail;
    }

    /**
     *
     * @return uBirthDate
     */
    public String getuBirthDate() {
        return uBirthDate;
    }

    /**
     *
     * @param uBirthDate String
     */
    public void setuBirthDate(String uBirthDate) {
        this.uBirthDate = uBirthDate;
    }

    /**
     *
     * @return uJoinDate
     */
    public String getuJoinDate() {
        return uJoinDate;
    }

    /**
     *
     * @param uJoinDate String
     */
    public void setuJoinDate(String uJoinDate) {
        this.uJoinDate = uJoinDate;
    }

    /**
     *
     * @return uLeaveDate
     */
    public String getuLeaveDate() {
        return uLeaveDate;
    }

    /**
     *
     * @param uLeaveDate String
     */
    public void setuLeaveDate(String uLeaveDate) {
        this.uLeaveDate = uLeaveDate;
    }

    /**
     *
     * @return oId
     */
    public String getoId() {
        return oId;
    }

    /**
     *
     * @param oId String
     */
    public void setoId(String oId) {
        this.oId = oId;
    }

    /**
     *
     * @return uStatus
     */
    public String getuStatus() {
        return uStatus;
    }

    /**
     *
     * @param uStatus String
     */
    public void setuStatus(String uStatus) {
        this.uStatus = uStatus;
    }
}
